<!doctype html>
<html class="default no-js">
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<title>HAPServer | hap-nodejs</title>
	<meta name="description" content="Documentation for hap-nodejs">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<link rel="stylesheet" href="../assets/css/main.css">
	<script async src="../assets/js/search.js" id="search-script"></script>
</head>
<body>
<header>
	<div class="tsd-page-toolbar">
		<div class="container">
			<div class="table-wrap">
				<div class="table-cell" id="tsd-search" data-index="../assets/js/search.json" data-base="..">
					<div class="field">
						<label for="tsd-search-field" class="tsd-widget search no-caption">Search</label>
						<input id="tsd-search-field" type="text" />
					</div>
					<ul class="results">
						<li class="state loading">Preparing search index...</li>
						<li class="state failure">The search index is not available</li>
					</ul>
					<a href="../index.html" class="title">hap-nodejs</a>
				</div>
				<div class="table-cell" id="tsd-widgets">
					<div id="tsd-filter">
						<a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a>
						<div class="tsd-filter-group">
							<div class="tsd-select" id="tsd-filter-visibility">
								<span class="tsd-select-label">All</span>
								<ul class="tsd-select-list">
									<li data-value="public">Public</li>
									<li data-value="protected">Public/Protected</li>
									<li data-value="private" class="selected">All</li>
								</ul>
							</div>
							<input type="checkbox" id="tsd-filter-inherited" checked />
							<label class="tsd-widget" for="tsd-filter-inherited">Inherited</label>
						</div>
					</div>
					<a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a>
				</div>
			</div>
		</div>
	</div>
	<div class="tsd-page-title">
		<div class="container">
			<ul class="tsd-breadcrumb">
				<li>
					<a href="../modules.html">hap-nodejs</a>
				</li>
				<li>
					<a href="hapserver.html">HAPServer</a>
				</li>
			</ul>
			<h1>Class HAPServer</h1>
		</div>
	</div>
</header>
<div class="container container-main">
	<div class="row">
		<div class="col-8 col-content">
			<section class="tsd-panel tsd-comment">
				<div class="tsd-comment tsd-typography">
					<div class="lead">
						<p>The actual HAP server that iOS devices talk to.</p>
					</div>
					<a href="#notes" id="notes" style="color: inherit; text-decoration: none;">
						<h2>Notes</h2>
					</a>
					<p>It turns out that the IP-based version of HomeKit&#39;s HAP protocol operates over a sort of pseudo-HTTP.
						Accessories are meant to host a TCP socket server that initially behaves exactly as an HTTP/1.1 server.
						So iOS devices will open up a long-lived connection to this server and begin issuing HTTP requests.
						So far, this conforms with HTTP/1.1 Keepalive. However, after the &quot;pairing&quot; process is complete, the
						connection is expected to be &quot;upgraded&quot; to support full-packet encryption of both HTTP headers and data.
					This encryption is NOT SSL. It is a customized ChaCha20+Poly1305 encryption layer.</p>
					<p>Additionally, this &quot;HTTP Server&quot; supports sending &quot;event&quot; responses at any time without warning. The iOS
						device simply keeps the connection open after it&#39;s finished with HTTP request/response traffic, and while
						the connection is open, the server can elect to issue &quot;EVENT/1.0 200 OK&quot; HTTP-style responses. These are
					typically sent to inform the iOS device of a characteristic change for the accessory (like &quot;Door was Unlocked&quot;).</p>
					<p>See eventedhttp.js for more detail on the implementation of this protocol.</p>
				</div>
			</section>
			<section class="tsd-panel tsd-hierarchy">
				<h3>Hierarchy</h3>
				<ul class="tsd-hierarchy">
					<li>
						<span class="tsd-signature-type">EventEmitter</span>
						<ul class="tsd-hierarchy">
							<li>
								<span class="target">HAPServer</span>
							</li>
						</ul>
					</li>
				</ul>
			</section>
			<section class="tsd-panel-group tsd-index-group">
				<h2>Index</h2>
				<section class="tsd-panel tsd-index-panel">
					<div class="tsd-index-content">
						<section class="tsd-index-section ">
							<h3>Constructors</h3>
							<ul class="tsd-index-list">
								<li class="tsd-kind-constructor tsd-parent-kind-class"><a href="hapserver.html#constructor" class="tsd-kind-icon">constructor</a></li>
							</ul>
						</section>
						<section class="tsd-index-section ">
							<h3>Properties</h3>
							<ul class="tsd-index-list">
								<li class="tsd-kind-property tsd-parent-kind-class"><a href="hapserver.html#allowinsecurerequest" class="tsd-kind-icon">allow<wbr>Insecure<wbr>Request</a></li>
							</ul>
						</section>
						<section class="tsd-index-section ">
							<h3>Methods</h3>
							<ul class="tsd-index-list">
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="hapserver.html#destroy" class="tsd-kind-icon">destroy</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="hapserver.html#emit" class="tsd-kind-icon">emit</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="hapserver.html#listen" class="tsd-kind-icon">listen</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="hapserver.html#on" class="tsd-kind-icon">on</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="hapserver.html#sendeventnotifications" class="tsd-kind-icon">send<wbr>Event<wbr>Notifications</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="hapserver.html#stop" class="tsd-kind-icon">stop</a></li>
							</ul>
						</section>
					</div>
				</section>
			</section>
			<section class="tsd-panel-group tsd-member-group ">
				<h2>Constructors</h2>
				<section class="tsd-panel tsd-member tsd-kind-constructor tsd-parent-kind-class">
					<a name="constructor" class="tsd-anchor"></a>
					<h3>constructor</h3>
					<ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">new HAPServer<span class="tsd-signature-symbol">(</span>accessoryInfo<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">AccessoryInfo</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="hapserver.html" class="tsd-signature-type" data-tsd-kind="Class">HAPServer</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/homebridge/HAP-NodeJS/blob/95a2490/src/lib/HAPServer.ts#L296">lib/HAPServer.ts:296</a></li>
								</ul>
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>accessoryInfo: <span class="tsd-signature-type">AccessoryInfo</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="hapserver.html" class="tsd-signature-type" data-tsd-kind="Class">HAPServer</a></h4>
						</li>
					</ul>
				</section>
			</section>
			<section class="tsd-panel-group tsd-member-group ">
				<h2>Properties</h2>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
					<a name="allowinsecurerequest" class="tsd-anchor"></a>
					<h3>allow<wbr>Insecure<wbr>Request</h3>
					<div class="tsd-signature tsd-kind-icon">allow<wbr>Insecure<wbr>Request<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in <a href="https://github.com/homebridge/HAP-NodeJS/blob/95a2490/src/lib/HAPServer.ts#L296">lib/HAPServer.ts:296</a></li>
						</ul>
					</aside>
				</section>
			</section>
			<section class="tsd-panel-group tsd-member-group ">
				<h2>Methods</h2>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="destroy" class="tsd-anchor"></a>
					<h3>destroy</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">destroy<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/homebridge/HAP-NodeJS/blob/95a2490/src/lib/HAPServer.ts#L323">lib/HAPServer.ts:323</a></li>
								</ul>
							</aside>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="emit" class="tsd-anchor"></a>
					<h3>emit</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">emit<span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;listening&quot;</span>, port<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, address<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li>
						<li class="tsd-signature tsd-kind-icon">emit<span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;identify&quot;</span>, callback<span class="tsd-signature-symbol">: </span><a href="../modules.html#voidcallback" class="tsd-signature-type" data-tsd-kind="Type alias">VoidCallback</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li>
						<li class="tsd-signature tsd-kind-icon">emit<span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;add-pairing&quot;</span>, connection<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">HAPConnection</span>, username<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, publicKey<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Buffer</span>, permission<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">PermissionTypes</span>, callback<span class="tsd-signature-symbol">: </span><a href="../modules.html#addpairingcallback" class="tsd-signature-type" data-tsd-kind="Type alias">AddPairingCallback</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li>
						<li class="tsd-signature tsd-kind-icon">emit<span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;remove-pairing&quot;</span>, connection<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">HAPConnection</span>, username<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, callback<span class="tsd-signature-symbol">: </span><a href="../modules.html#removepairingcallback" class="tsd-signature-type" data-tsd-kind="Type alias">RemovePairingCallback</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li>
						<li class="tsd-signature tsd-kind-icon">emit<span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;list-pairings&quot;</span>, connection<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">HAPConnection</span>, callback<span class="tsd-signature-symbol">: </span><a href="../modules.html#listpairingscallback" class="tsd-signature-type" data-tsd-kind="Type alias">ListPairingsCallback</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li>
						<li class="tsd-signature tsd-kind-icon">emit<span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;pair&quot;</span>, username<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, clientLTPK<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Buffer</span>, callback<span class="tsd-signature-symbol">: </span><a href="../modules.html#voidcallback" class="tsd-signature-type" data-tsd-kind="Type alias">VoidCallback</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li>
						<li class="tsd-signature tsd-kind-icon">emit<span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;accessories&quot;</span>, connection<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">HAPConnection</span>, callback<span class="tsd-signature-symbol">: </span><a href="../modules.html#accessoriescallback" class="tsd-signature-type" data-tsd-kind="Type alias">AccessoriesCallback</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li>
						<li class="tsd-signature tsd-kind-icon">emit<span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;get-characteristics&quot;</span>, connection<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">HAPConnection</span>, request<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">CharacteristicsReadRequest</span>, callback<span class="tsd-signature-symbol">: </span><a href="../modules.html#readcharacteristicscallback" class="tsd-signature-type" data-tsd-kind="Type alias">ReadCharacteristicsCallback</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li>
						<li class="tsd-signature tsd-kind-icon">emit<span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;set-characteristics&quot;</span>, connection<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">HAPConnection</span>, request<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">CharacteristicsWriteRequest</span>, callback<span class="tsd-signature-symbol">: </span><a href="../modules.html#writecharacteristicscallback" class="tsd-signature-type" data-tsd-kind="Type alias">WriteCharacteristicsCallback</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li>
						<li class="tsd-signature tsd-kind-icon">emit<span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;request-resource&quot;</span>, resource<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">ResourceRequest</span>, callback<span class="tsd-signature-symbol">: </span><a href="../modules.html#resourcerequestcallback" class="tsd-signature-type" data-tsd-kind="Type alias">ResourceRequestCallback</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li>
						<li class="tsd-signature tsd-kind-icon">emit<span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;connection-closed&quot;</span>, connection<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">HAPConnection</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/homebridge/HAP-NodeJS/blob/95a2490/src/lib/HAPServer.ts#L255">lib/HAPServer.ts:255</a></li>
								</ul>
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>event: <span class="tsd-signature-type">&quot;listening&quot;</span></h5>
								</li>
								<li>
									<h5>port: <span class="tsd-signature-type">number</span></h5>
								</li>
								<li>
									<h5>address: <span class="tsd-signature-type">string</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4>
						</li>
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/homebridge/HAP-NodeJS/blob/95a2490/src/lib/HAPServer.ts#L256">lib/HAPServer.ts:256</a></li>
								</ul>
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>event: <span class="tsd-signature-type">&quot;identify&quot;</span></h5>
								</li>
								<li>
									<h5>callback: <a href="../modules.html#voidcallback" class="tsd-signature-type" data-tsd-kind="Type alias">VoidCallback</a></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4>
						</li>
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/homebridge/HAP-NodeJS/blob/95a2490/src/lib/HAPServer.ts#L258">lib/HAPServer.ts:258</a></li>
								</ul>
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>event: <span class="tsd-signature-type">&quot;add-pairing&quot;</span></h5>
								</li>
								<li>
									<h5>connection: <span class="tsd-signature-type">HAPConnection</span></h5>
								</li>
								<li>
									<h5>username: <span class="tsd-signature-type">string</span></h5>
								</li>
								<li>
									<h5>publicKey: <span class="tsd-signature-type">Buffer</span></h5>
								</li>
								<li>
									<h5>permission: <span class="tsd-signature-type">PermissionTypes</span></h5>
								</li>
								<li>
									<h5>callback: <a href="../modules.html#addpairingcallback" class="tsd-signature-type" data-tsd-kind="Type alias">AddPairingCallback</a></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4>
						</li>
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/homebridge/HAP-NodeJS/blob/95a2490/src/lib/HAPServer.ts#L259">lib/HAPServer.ts:259</a></li>
								</ul>
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>event: <span class="tsd-signature-type">&quot;remove-pairing&quot;</span></h5>
								</li>
								<li>
									<h5>connection: <span class="tsd-signature-type">HAPConnection</span></h5>
								</li>
								<li>
									<h5>username: <span class="tsd-signature-type">string</span></h5>
								</li>
								<li>
									<h5>callback: <a href="../modules.html#removepairingcallback" class="tsd-signature-type" data-tsd-kind="Type alias">RemovePairingCallback</a></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4>
						</li>
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/homebridge/HAP-NodeJS/blob/95a2490/src/lib/HAPServer.ts#L260">lib/HAPServer.ts:260</a></li>
								</ul>
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>event: <span class="tsd-signature-type">&quot;list-pairings&quot;</span></h5>
								</li>
								<li>
									<h5>connection: <span class="tsd-signature-type">HAPConnection</span></h5>
								</li>
								<li>
									<h5>callback: <a href="../modules.html#listpairingscallback" class="tsd-signature-type" data-tsd-kind="Type alias">ListPairingsCallback</a></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4>
						</li>
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/homebridge/HAP-NodeJS/blob/95a2490/src/lib/HAPServer.ts#L261">lib/HAPServer.ts:261</a></li>
								</ul>
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>event: <span class="tsd-signature-type">&quot;pair&quot;</span></h5>
								</li>
								<li>
									<h5>username: <span class="tsd-signature-type">string</span></h5>
								</li>
								<li>
									<h5>clientLTPK: <span class="tsd-signature-type">Buffer</span></h5>
								</li>
								<li>
									<h5>callback: <a href="../modules.html#voidcallback" class="tsd-signature-type" data-tsd-kind="Type alias">VoidCallback</a></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4>
						</li>
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/homebridge/HAP-NodeJS/blob/95a2490/src/lib/HAPServer.ts#L263">lib/HAPServer.ts:263</a></li>
								</ul>
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>event: <span class="tsd-signature-type">&quot;accessories&quot;</span></h5>
								</li>
								<li>
									<h5>connection: <span class="tsd-signature-type">HAPConnection</span></h5>
								</li>
								<li>
									<h5>callback: <a href="../modules.html#accessoriescallback" class="tsd-signature-type" data-tsd-kind="Type alias">AccessoriesCallback</a></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4>
						</li>
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/homebridge/HAP-NodeJS/blob/95a2490/src/lib/HAPServer.ts#L264">lib/HAPServer.ts:264</a></li>
								</ul>
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>event: <span class="tsd-signature-type">&quot;get-characteristics&quot;</span></h5>
								</li>
								<li>
									<h5>connection: <span class="tsd-signature-type">HAPConnection</span></h5>
								</li>
								<li>
									<h5>request: <span class="tsd-signature-type">CharacteristicsReadRequest</span></h5>
								</li>
								<li>
									<h5>callback: <a href="../modules.html#readcharacteristicscallback" class="tsd-signature-type" data-tsd-kind="Type alias">ReadCharacteristicsCallback</a></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4>
						</li>
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/homebridge/HAP-NodeJS/blob/95a2490/src/lib/HAPServer.ts#L265">lib/HAPServer.ts:265</a></li>
								</ul>
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>event: <span class="tsd-signature-type">&quot;set-characteristics&quot;</span></h5>
								</li>
								<li>
									<h5>connection: <span class="tsd-signature-type">HAPConnection</span></h5>
								</li>
								<li>
									<h5>request: <span class="tsd-signature-type">CharacteristicsWriteRequest</span></h5>
								</li>
								<li>
									<h5>callback: <a href="../modules.html#writecharacteristicscallback" class="tsd-signature-type" data-tsd-kind="Type alias">WriteCharacteristicsCallback</a></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4>
						</li>
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/homebridge/HAP-NodeJS/blob/95a2490/src/lib/HAPServer.ts#L266">lib/HAPServer.ts:266</a></li>
								</ul>
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>event: <span class="tsd-signature-type">&quot;request-resource&quot;</span></h5>
								</li>
								<li>
									<h5>resource: <span class="tsd-signature-type">ResourceRequest</span></h5>
								</li>
								<li>
									<h5>callback: <a href="../modules.html#resourcerequestcallback" class="tsd-signature-type" data-tsd-kind="Type alias">ResourceRequestCallback</a></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4>
						</li>
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/homebridge/HAP-NodeJS/blob/95a2490/src/lib/HAPServer.ts#L268">lib/HAPServer.ts:268</a></li>
								</ul>
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>event: <span class="tsd-signature-type">&quot;connection-closed&quot;</span></h5>
								</li>
								<li>
									<h5>connection: <span class="tsd-signature-type">HAPConnection</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="listen" class="tsd-anchor"></a>
					<h3>listen</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">listen<span class="tsd-signature-symbol">(</span>port<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span>, host<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/homebridge/HAP-NodeJS/blob/95a2490/src/lib/HAPServer.ts#L309">lib/HAPServer.ts:309</a></li>
								</ul>
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>port: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></h5>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> host: <span class="tsd-signature-type">string</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="on" class="tsd-anchor"></a>
					<h3>on</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">on<span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;listening&quot;</span>, listener<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span>port<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, address<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="hapserver.html" class="tsd-signature-type" data-tsd-kind="Class">HAPServer</a></li>
						<li class="tsd-signature tsd-kind-icon">on<span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;identify&quot;</span>, listener<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span>callback<span class="tsd-signature-symbol">: </span><a href="../modules.html#voidcallback" class="tsd-signature-type" data-tsd-kind="Type alias">VoidCallback</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="hapserver.html" class="tsd-signature-type" data-tsd-kind="Class">HAPServer</a></li>
						<li class="tsd-signature tsd-kind-icon">on<span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;add-pairing&quot;</span>, listener<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span>connection<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">HAPConnection</span>, username<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, publicKey<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Buffer</span>, permission<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">PermissionTypes</span>, callback<span class="tsd-signature-symbol">: </span><a href="../modules.html#addpairingcallback" class="tsd-signature-type" data-tsd-kind="Type alias">AddPairingCallback</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="hapserver.html" class="tsd-signature-type" data-tsd-kind="Class">HAPServer</a></li>
						<li class="tsd-signature tsd-kind-icon">on<span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;remove-pairing&quot;</span>, listener<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span>connection<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">HAPConnection</span>, username<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, callback<span class="tsd-signature-symbol">: </span><a href="../modules.html#removepairingcallback" class="tsd-signature-type" data-tsd-kind="Type alias">RemovePairingCallback</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="hapserver.html" class="tsd-signature-type" data-tsd-kind="Class">HAPServer</a></li>
						<li class="tsd-signature tsd-kind-icon">on<span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;list-pairings&quot;</span>, listener<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span>connection<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">HAPConnection</span>, callback<span class="tsd-signature-symbol">: </span><a href="../modules.html#listpairingscallback" class="tsd-signature-type" data-tsd-kind="Type alias">ListPairingsCallback</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="hapserver.html" class="tsd-signature-type" data-tsd-kind="Class">HAPServer</a></li>
						<li class="tsd-signature tsd-kind-icon">on<span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;pair&quot;</span>, listener<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span>username<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, clientLTPK<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Buffer</span>, callback<span class="tsd-signature-symbol">: </span><a href="../modules.html#voidcallback" class="tsd-signature-type" data-tsd-kind="Type alias">VoidCallback</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="hapserver.html" class="tsd-signature-type" data-tsd-kind="Class">HAPServer</a></li>
						<li class="tsd-signature tsd-kind-icon">on<span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;accessories&quot;</span>, listener<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span>connection<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">HAPConnection</span>, callback<span class="tsd-signature-symbol">: </span><a href="../modules.html#accessoriescallback" class="tsd-signature-type" data-tsd-kind="Type alias">AccessoriesCallback</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="hapserver.html" class="tsd-signature-type" data-tsd-kind="Class">HAPServer</a></li>
						<li class="tsd-signature tsd-kind-icon">on<span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;get-characteristics&quot;</span>, listener<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span>connection<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">HAPConnection</span>, request<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">CharacteristicsReadRequest</span>, callback<span class="tsd-signature-symbol">: </span><a href="../modules.html#readcharacteristicscallback" class="tsd-signature-type" data-tsd-kind="Type alias">ReadCharacteristicsCallback</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="hapserver.html" class="tsd-signature-type" data-tsd-kind="Class">HAPServer</a></li>
						<li class="tsd-signature tsd-kind-icon">on<span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;set-characteristics&quot;</span>, listener<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span>connection<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">HAPConnection</span>, request<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">CharacteristicsWriteRequest</span>, callback<span class="tsd-signature-symbol">: </span><a href="../modules.html#writecharacteristicscallback" class="tsd-signature-type" data-tsd-kind="Type alias">WriteCharacteristicsCallback</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="hapserver.html" class="tsd-signature-type" data-tsd-kind="Class">HAPServer</a></li>
						<li class="tsd-signature tsd-kind-icon">on<span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;request-resource&quot;</span>, listener<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span>resource<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">ResourceRequest</span>, callback<span class="tsd-signature-symbol">: </span><a href="../modules.html#resourcerequestcallback" class="tsd-signature-type" data-tsd-kind="Type alias">ResourceRequestCallback</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="hapserver.html" class="tsd-signature-type" data-tsd-kind="Class">HAPServer</a></li>
						<li class="tsd-signature tsd-kind-icon">on<span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;connection-closed&quot;</span>, listener<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span>connection<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">HAPConnection</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="hapserver.html" class="tsd-signature-type" data-tsd-kind="Class">HAPServer</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/homebridge/HAP-NodeJS/blob/95a2490/src/lib/HAPServer.ts#L239">lib/HAPServer.ts:239</a></li>
								</ul>
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>event: <span class="tsd-signature-type">&quot;listening&quot;</span></h5>
								</li>
								<li>
									<h5>listener: <span class="tsd-signature-symbol">(</span>port<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, address<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">void</span></h5>
									<ul class="tsd-parameters">
										<li class="tsd-parameter-signature">
											<ul class="tsd-signatures tsd-kind-type-literal">
												<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>port<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, address<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
											</ul>
											<ul class="tsd-descriptions">
												<li class="tsd-description">
													<h4 class="tsd-parameters-title">Parameters</h4>
													<ul class="tsd-parameters">
														<li>
															<h5>port: <span class="tsd-signature-type">number</span></h5>
														</li>
														<li>
															<h5>address: <span class="tsd-signature-type">string</span></h5>
														</li>
													</ul>
													<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
												</li>
											</ul>
										</li>
									</ul>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="hapserver.html" class="tsd-signature-type" data-tsd-kind="Class">HAPServer</a></h4>
						</li>
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/homebridge/HAP-NodeJS/blob/95a2490/src/lib/HAPServer.ts#L240">lib/HAPServer.ts:240</a></li>
								</ul>
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>event: <span class="tsd-signature-type">&quot;identify&quot;</span></h5>
								</li>
								<li>
									<h5>listener: <span class="tsd-signature-symbol">(</span>callback<span class="tsd-signature-symbol">: </span><a href="../modules.html#voidcallback" class="tsd-signature-type" data-tsd-kind="Type alias">VoidCallback</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">void</span></h5>
									<ul class="tsd-parameters">
										<li class="tsd-parameter-signature">
											<ul class="tsd-signatures tsd-kind-type-literal">
												<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>callback<span class="tsd-signature-symbol">: </span><a href="../modules.html#voidcallback" class="tsd-signature-type" data-tsd-kind="Type alias">VoidCallback</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
											</ul>
											<ul class="tsd-descriptions">
												<li class="tsd-description">
													<h4 class="tsd-parameters-title">Parameters</h4>
													<ul class="tsd-parameters">
														<li>
															<h5>callback: <a href="../modules.html#voidcallback" class="tsd-signature-type" data-tsd-kind="Type alias">VoidCallback</a></h5>
														</li>
													</ul>
													<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
												</li>
											</ul>
										</li>
									</ul>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="hapserver.html" class="tsd-signature-type" data-tsd-kind="Class">HAPServer</a></h4>
						</li>
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/homebridge/HAP-NodeJS/blob/95a2490/src/lib/HAPServer.ts#L242">lib/HAPServer.ts:242</a></li>
								</ul>
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>event: <span class="tsd-signature-type">&quot;add-pairing&quot;</span></h5>
								</li>
								<li>
									<h5>listener: <span class="tsd-signature-symbol">(</span>connection<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">HAPConnection</span>, username<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, publicKey<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Buffer</span>, permission<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">PermissionTypes</span>, callback<span class="tsd-signature-symbol">: </span><a href="../modules.html#addpairingcallback" class="tsd-signature-type" data-tsd-kind="Type alias">AddPairingCallback</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">void</span></h5>
									<ul class="tsd-parameters">
										<li class="tsd-parameter-signature">
											<ul class="tsd-signatures tsd-kind-type-literal">
												<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>connection<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">HAPConnection</span>, username<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, publicKey<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Buffer</span>, permission<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">PermissionTypes</span>, callback<span class="tsd-signature-symbol">: </span><a href="../modules.html#addpairingcallback" class="tsd-signature-type" data-tsd-kind="Type alias">AddPairingCallback</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
											</ul>
											<ul class="tsd-descriptions">
												<li class="tsd-description">
													<h4 class="tsd-parameters-title">Parameters</h4>
													<ul class="tsd-parameters">
														<li>
															<h5>connection: <span class="tsd-signature-type">HAPConnection</span></h5>
														</li>
														<li>
															<h5>username: <span class="tsd-signature-type">string</span></h5>
														</li>
														<li>
															<h5>publicKey: <span class="tsd-signature-type">Buffer</span></h5>
														</li>
														<li>
															<h5>permission: <span class="tsd-signature-type">PermissionTypes</span></h5>
														</li>
														<li>
															<h5>callback: <a href="../modules.html#addpairingcallback" class="tsd-signature-type" data-tsd-kind="Type alias">AddPairingCallback</a></h5>
														</li>
													</ul>
													<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
												</li>
											</ul>
										</li>
									</ul>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="hapserver.html" class="tsd-signature-type" data-tsd-kind="Class">HAPServer</a></h4>
						</li>
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/homebridge/HAP-NodeJS/blob/95a2490/src/lib/HAPServer.ts#L243">lib/HAPServer.ts:243</a></li>
								</ul>
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>event: <span class="tsd-signature-type">&quot;remove-pairing&quot;</span></h5>
								</li>
								<li>
									<h5>listener: <span class="tsd-signature-symbol">(</span>connection<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">HAPConnection</span>, username<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, callback<span class="tsd-signature-symbol">: </span><a href="../modules.html#removepairingcallback" class="tsd-signature-type" data-tsd-kind="Type alias">RemovePairingCallback</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">void</span></h5>
									<ul class="tsd-parameters">
										<li class="tsd-parameter-signature">
											<ul class="tsd-signatures tsd-kind-type-literal">
												<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>connection<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">HAPConnection</span>, username<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, callback<span class="tsd-signature-symbol">: </span><a href="../modules.html#removepairingcallback" class="tsd-signature-type" data-tsd-kind="Type alias">RemovePairingCallback</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
											</ul>
											<ul class="tsd-descriptions">
												<li class="tsd-description">
													<h4 class="tsd-parameters-title">Parameters</h4>
													<ul class="tsd-parameters">
														<li>
															<h5>connection: <span class="tsd-signature-type">HAPConnection</span></h5>
														</li>
														<li>
															<h5>username: <span class="tsd-signature-type">string</span></h5>
														</li>
														<li>
															<h5>callback: <a href="../modules.html#removepairingcallback" class="tsd-signature-type" data-tsd-kind="Type alias">RemovePairingCallback</a></h5>
														</li>
													</ul>
													<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
												</li>
											</ul>
										</li>
									</ul>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="hapserver.html" class="tsd-signature-type" data-tsd-kind="Class">HAPServer</a></h4>
						</li>
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/homebridge/HAP-NodeJS/blob/95a2490/src/lib/HAPServer.ts#L244">lib/HAPServer.ts:244</a></li>
								</ul>
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>event: <span class="tsd-signature-type">&quot;list-pairings&quot;</span></h5>
								</li>
								<li>
									<h5>listener: <span class="tsd-signature-symbol">(</span>connection<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">HAPConnection</span>, callback<span class="tsd-signature-symbol">: </span><a href="../modules.html#listpairingscallback" class="tsd-signature-type" data-tsd-kind="Type alias">ListPairingsCallback</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">void</span></h5>
									<ul class="tsd-parameters">
										<li class="tsd-parameter-signature">
											<ul class="tsd-signatures tsd-kind-type-literal">
												<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>connection<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">HAPConnection</span>, callback<span class="tsd-signature-symbol">: </span><a href="../modules.html#listpairingscallback" class="tsd-signature-type" data-tsd-kind="Type alias">ListPairingsCallback</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
											</ul>
											<ul class="tsd-descriptions">
												<li class="tsd-description">
													<h4 class="tsd-parameters-title">Parameters</h4>
													<ul class="tsd-parameters">
														<li>
															<h5>connection: <span class="tsd-signature-type">HAPConnection</span></h5>
														</li>
														<li>
															<h5>callback: <a href="../modules.html#listpairingscallback" class="tsd-signature-type" data-tsd-kind="Type alias">ListPairingsCallback</a></h5>
														</li>
													</ul>
													<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
												</li>
											</ul>
										</li>
									</ul>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="hapserver.html" class="tsd-signature-type" data-tsd-kind="Class">HAPServer</a></h4>
						</li>
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/homebridge/HAP-NodeJS/blob/95a2490/src/lib/HAPServer.ts#L245">lib/HAPServer.ts:245</a></li>
								</ul>
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>event: <span class="tsd-signature-type">&quot;pair&quot;</span></h5>
								</li>
								<li>
									<h5>listener: <span class="tsd-signature-symbol">(</span>username<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, clientLTPK<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Buffer</span>, callback<span class="tsd-signature-symbol">: </span><a href="../modules.html#voidcallback" class="tsd-signature-type" data-tsd-kind="Type alias">VoidCallback</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">void</span></h5>
									<ul class="tsd-parameters">
										<li class="tsd-parameter-signature">
											<ul class="tsd-signatures tsd-kind-type-literal">
												<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>username<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, clientLTPK<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Buffer</span>, callback<span class="tsd-signature-symbol">: </span><a href="../modules.html#voidcallback" class="tsd-signature-type" data-tsd-kind="Type alias">VoidCallback</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
											</ul>
											<ul class="tsd-descriptions">
												<li class="tsd-description">
													<h4 class="tsd-parameters-title">Parameters</h4>
													<ul class="tsd-parameters">
														<li>
															<h5>username: <span class="tsd-signature-type">string</span></h5>
														</li>
														<li>
															<h5>clientLTPK: <span class="tsd-signature-type">Buffer</span></h5>
														</li>
														<li>
															<h5>callback: <a href="../modules.html#voidcallback" class="tsd-signature-type" data-tsd-kind="Type alias">VoidCallback</a></h5>
														</li>
													</ul>
													<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
												</li>
											</ul>
										</li>
									</ul>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="hapserver.html" class="tsd-signature-type" data-tsd-kind="Class">HAPServer</a></h4>
						</li>
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/homebridge/HAP-NodeJS/blob/95a2490/src/lib/HAPServer.ts#L247">lib/HAPServer.ts:247</a></li>
								</ul>
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>event: <span class="tsd-signature-type">&quot;accessories&quot;</span></h5>
								</li>
								<li>
									<h5>listener: <span class="tsd-signature-symbol">(</span>connection<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">HAPConnection</span>, callback<span class="tsd-signature-symbol">: </span><a href="../modules.html#accessoriescallback" class="tsd-signature-type" data-tsd-kind="Type alias">AccessoriesCallback</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">void</span></h5>
									<ul class="tsd-parameters">
										<li class="tsd-parameter-signature">
											<ul class="tsd-signatures tsd-kind-type-literal">
												<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>connection<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">HAPConnection</span>, callback<span class="tsd-signature-symbol">: </span><a href="../modules.html#accessoriescallback" class="tsd-signature-type" data-tsd-kind="Type alias">AccessoriesCallback</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
											</ul>
											<ul class="tsd-descriptions">
												<li class="tsd-description">
													<h4 class="tsd-parameters-title">Parameters</h4>
													<ul class="tsd-parameters">
														<li>
															<h5>connection: <span class="tsd-signature-type">HAPConnection</span></h5>
														</li>
														<li>
															<h5>callback: <a href="../modules.html#accessoriescallback" class="tsd-signature-type" data-tsd-kind="Type alias">AccessoriesCallback</a></h5>
														</li>
													</ul>
													<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
												</li>
											</ul>
										</li>
									</ul>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="hapserver.html" class="tsd-signature-type" data-tsd-kind="Class">HAPServer</a></h4>
						</li>
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/homebridge/HAP-NodeJS/blob/95a2490/src/lib/HAPServer.ts#L248">lib/HAPServer.ts:248</a></li>
								</ul>
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>event: <span class="tsd-signature-type">&quot;get-characteristics&quot;</span></h5>
								</li>
								<li>
									<h5>listener: <span class="tsd-signature-symbol">(</span>connection<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">HAPConnection</span>, request<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">CharacteristicsReadRequest</span>, callback<span class="tsd-signature-symbol">: </span><a href="../modules.html#readcharacteristicscallback" class="tsd-signature-type" data-tsd-kind="Type alias">ReadCharacteristicsCallback</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">void</span></h5>
									<ul class="tsd-parameters">
										<li class="tsd-parameter-signature">
											<ul class="tsd-signatures tsd-kind-type-literal">
												<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>connection<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">HAPConnection</span>, request<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">CharacteristicsReadRequest</span>, callback<span class="tsd-signature-symbol">: </span><a href="../modules.html#readcharacteristicscallback" class="tsd-signature-type" data-tsd-kind="Type alias">ReadCharacteristicsCallback</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
											</ul>
											<ul class="tsd-descriptions">
												<li class="tsd-description">
													<h4 class="tsd-parameters-title">Parameters</h4>
													<ul class="tsd-parameters">
														<li>
															<h5>connection: <span class="tsd-signature-type">HAPConnection</span></h5>
														</li>
														<li>
															<h5>request: <span class="tsd-signature-type">CharacteristicsReadRequest</span></h5>
														</li>
														<li>
															<h5>callback: <a href="../modules.html#readcharacteristicscallback" class="tsd-signature-type" data-tsd-kind="Type alias">ReadCharacteristicsCallback</a></h5>
														</li>
													</ul>
													<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
												</li>
											</ul>
										</li>
									</ul>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="hapserver.html" class="tsd-signature-type" data-tsd-kind="Class">HAPServer</a></h4>
						</li>
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/homebridge/HAP-NodeJS/blob/95a2490/src/lib/HAPServer.ts#L249">lib/HAPServer.ts:249</a></li>
								</ul>
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>event: <span class="tsd-signature-type">&quot;set-characteristics&quot;</span></h5>
								</li>
								<li>
									<h5>listener: <span class="tsd-signature-symbol">(</span>connection<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">HAPConnection</span>, request<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">CharacteristicsWriteRequest</span>, callback<span class="tsd-signature-symbol">: </span><a href="../modules.html#writecharacteristicscallback" class="tsd-signature-type" data-tsd-kind="Type alias">WriteCharacteristicsCallback</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">void</span></h5>
									<ul class="tsd-parameters">
										<li class="tsd-parameter-signature">
											<ul class="tsd-signatures tsd-kind-type-literal">
												<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>connection<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">HAPConnection</span>, request<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">CharacteristicsWriteRequest</span>, callback<span class="tsd-signature-symbol">: </span><a href="../modules.html#writecharacteristicscallback" class="tsd-signature-type" data-tsd-kind="Type alias">WriteCharacteristicsCallback</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
											</ul>
											<ul class="tsd-descriptions">
												<li class="tsd-description">
													<h4 class="tsd-parameters-title">Parameters</h4>
													<ul class="tsd-parameters">
														<li>
															<h5>connection: <span class="tsd-signature-type">HAPConnection</span></h5>
														</li>
														<li>
															<h5>request: <span class="tsd-signature-type">CharacteristicsWriteRequest</span></h5>
														</li>
														<li>
															<h5>callback: <a href="../modules.html#writecharacteristicscallback" class="tsd-signature-type" data-tsd-kind="Type alias">WriteCharacteristicsCallback</a></h5>
														</li>
													</ul>
													<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
												</li>
											</ul>
										</li>
									</ul>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="hapserver.html" class="tsd-signature-type" data-tsd-kind="Class">HAPServer</a></h4>
						</li>
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/homebridge/HAP-NodeJS/blob/95a2490/src/lib/HAPServer.ts#L250">lib/HAPServer.ts:250</a></li>
								</ul>
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>event: <span class="tsd-signature-type">&quot;request-resource&quot;</span></h5>
								</li>
								<li>
									<h5>listener: <span class="tsd-signature-symbol">(</span>resource<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">ResourceRequest</span>, callback<span class="tsd-signature-symbol">: </span><a href="../modules.html#resourcerequestcallback" class="tsd-signature-type" data-tsd-kind="Type alias">ResourceRequestCallback</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">void</span></h5>
									<ul class="tsd-parameters">
										<li class="tsd-parameter-signature">
											<ul class="tsd-signatures tsd-kind-type-literal">
												<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>resource<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">ResourceRequest</span>, callback<span class="tsd-signature-symbol">: </span><a href="../modules.html#resourcerequestcallback" class="tsd-signature-type" data-tsd-kind="Type alias">ResourceRequestCallback</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
											</ul>
											<ul class="tsd-descriptions">
												<li class="tsd-description">
													<h4 class="tsd-parameters-title">Parameters</h4>
													<ul class="tsd-parameters">
														<li>
															<h5>resource: <span class="tsd-signature-type">ResourceRequest</span></h5>
														</li>
														<li>
															<h5>callback: <a href="../modules.html#resourcerequestcallback" class="tsd-signature-type" data-tsd-kind="Type alias">ResourceRequestCallback</a></h5>
														</li>
													</ul>
													<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
												</li>
											</ul>
										</li>
									</ul>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="hapserver.html" class="tsd-signature-type" data-tsd-kind="Class">HAPServer</a></h4>
						</li>
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/homebridge/HAP-NodeJS/blob/95a2490/src/lib/HAPServer.ts#L252">lib/HAPServer.ts:252</a></li>
								</ul>
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>event: <span class="tsd-signature-type">&quot;connection-closed&quot;</span></h5>
								</li>
								<li>
									<h5>listener: <span class="tsd-signature-symbol">(</span>connection<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">HAPConnection</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">void</span></h5>
									<ul class="tsd-parameters">
										<li class="tsd-parameter-signature">
											<ul class="tsd-signatures tsd-kind-type-literal">
												<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>connection<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">HAPConnection</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
											</ul>
											<ul class="tsd-descriptions">
												<li class="tsd-description">
													<h4 class="tsd-parameters-title">Parameters</h4>
													<ul class="tsd-parameters">
														<li>
															<h5>connection: <span class="tsd-signature-type">HAPConnection</span></h5>
														</li>
													</ul>
													<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
												</li>
											</ul>
										</li>
									</ul>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="hapserver.html" class="tsd-signature-type" data-tsd-kind="Class">HAPServer</a></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="sendeventnotifications" class="tsd-anchor"></a>
					<h3>send<wbr>Event<wbr>Notifications</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">send<wbr>Event<wbr>Notifications<span class="tsd-signature-symbol">(</span>aid<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, iid<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-symbol">(</span><a href="../modules.html#primitivetypes" class="tsd-signature-type" data-tsd-kind="Type alias">PrimitiveTypes</a><span class="tsd-signature-symbol"> | </span><a href="../modules.html#primitivetypes" class="tsd-signature-type" data-tsd-kind="Type alias">PrimitiveTypes</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-symbol">{}</span><span class="tsd-signature-symbol">)</span>, originator<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">HAPConnection</span>, immediateDelivery<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/homebridge/HAP-NodeJS/blob/95a2490/src/lib/HAPServer.ts#L339">lib/HAPServer.ts:339</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Send a even notification for given characteristic and changed value to all connected clients.
									If {@param originator} is specified, the given {@link HAPConnection} will be excluded from the broadcast.</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>aid: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>The accessory id of the updated characteristic.</p>
									</div>
								</li>
								<li>
									<h5>iid: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>The instance id of the updated characteristic.</p>
									</div>
								</li>
								<li>
									<h5>value: <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-symbol">(</span><a href="../modules.html#primitivetypes" class="tsd-signature-type" data-tsd-kind="Type alias">PrimitiveTypes</a><span class="tsd-signature-symbol"> | </span><a href="../modules.html#primitivetypes" class="tsd-signature-type" data-tsd-kind="Type alias">PrimitiveTypes</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-symbol">{}</span><span class="tsd-signature-symbol">)</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>The newly set value of the characteristic.</p>
									</div>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> originator: <span class="tsd-signature-type">HAPConnection</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>If specified, the connection will not get a event message.</p>
									</div>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> immediateDelivery: <span class="tsd-signature-type">boolean</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>The HAP spec requires some characteristics to be delivery immediately.
										Namely for the <a href="characteristic.html#buttonevent">ButtonEvent</a> and the <a href="characteristic.html#programmableswitchevent">ProgrammableSwitchEvent</a> characteristics.</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="stop" class="tsd-anchor"></a>
					<h3>stop</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">stop<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/homebridge/HAP-NodeJS/blob/95a2490/src/lib/HAPServer.ts#L319">lib/HAPServer.ts:319</a></li>
								</ul>
							</aside>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
			</section>
		</div>
		<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
			<nav class="tsd-navigation primary">
				<ul>
					<li class=" ">
						<a href="../modules.html">Exports</a>
					</li>
				</ul>
			</nav>
			<nav class="tsd-navigation secondary menu-sticky">
				<ul class="before-current">
				</ul>
				<ul class="current">
					<li class="current tsd-kind-class">
						<a href="hapserver.html" class="tsd-kind-icon">HAPServer</a>
						<ul>
							<li class=" tsd-kind-constructor tsd-parent-kind-class">
								<a href="hapserver.html#constructor" class="tsd-kind-icon">constructor</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class">
								<a href="hapserver.html#allowinsecurerequest" class="tsd-kind-icon">allow<wbr>Insecure<wbr>Request</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="hapserver.html#destroy" class="tsd-kind-icon">destroy</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="hapserver.html#emit" class="tsd-kind-icon">emit</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="hapserver.html#listen" class="tsd-kind-icon">listen</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="hapserver.html#on" class="tsd-kind-icon">on</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="hapserver.html#sendeventnotifications" class="tsd-kind-icon">send<wbr>Event<wbr>Notifications</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="hapserver.html#stop" class="tsd-kind-icon">stop</a>
							</li>
						</ul>
					</li>
				</ul>
				<ul class="after-current">
				</ul>
			</nav>
		</div>
	</div>
</div>
<footer>
	<div class="container">
		<h2>Legend</h2>
		<div class="tsd-legend-group">
			<ul class="tsd-legend">
				<li class="tsd-kind-constructor tsd-parent-kind-interface"><span class="tsd-kind-icon">Constructor</span></li>
				<li class="tsd-kind-property tsd-parent-kind-interface"><span class="tsd-kind-icon">Property</span></li>
				<li class="tsd-kind-method tsd-parent-kind-interface"><span class="tsd-kind-icon">Method</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-constructor tsd-parent-kind-class"><span class="tsd-kind-icon">Constructor</span></li>
				<li class="tsd-kind-property tsd-parent-kind-class"><span class="tsd-kind-icon">Property</span></li>
				<li class="tsd-kind-method tsd-parent-kind-class"><span class="tsd-kind-icon">Method</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited constructor</span></li>
				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited property</span></li>
				<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited method</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static property</span></li>
				<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static method</span></li>
			</ul>
		</div>
	</div>
</footer>
<div class="overlay"></div>
<script src="../assets/js/main.js"></script>
</body>
</html>